#ifndef SETTARGETABILITYVISITOR_H
#define SETTARGETABILITYVISITOR_H

#include "GameAbilityVisitor.h"
#include "SetTargetAbility.h"

class SetTargetAbilityVisitor: public GameAbilityVisitor
{
public:
	SetTargetAbilityVisitor();
	virtual ~SetTargetAbilityVisitor();

	virtual void Visit(SetTargetAbility& ability);

	void Clear();
	bool FoundAbility() const;
	Targetsetable* TargetsetableInterface() const;


protected:
private:
	bool found;
	Targetsetable* targetsetableInterface;
};

#endif //SETTARGETABILITYVISITOR_H
